package com.imooc.pojo;

/**
 * Created by joe on 16-7-30.
 */
public class Book {

	private String name;

	private double price;

	public Book() {
		System.out.println("*******book类的无参构造方法*********");
	}

	public Book(String name,double price){
		this.name = name;
		this.price = price;
	}

	@Override
	public String toString() {
		return "name:"+name+",price:"+price;
	}

}
